<div class='part'>
  <title>Creer un soin
  </title>
  <form action="cree_produit_traitement.php" method="post">
    <label>Titre :  
    </label>
    <input type="text" size="30" name="titre" value="" />
    <br/>
    <label>prix :  
    </label>
    <input type="text" size="30" name="prix" value="" / > 
    <br/>
    <label>categorie :  
    </label>
    <input type="text" size="30" name="cat" value="" / > 
    <br/>
    <p>
      <label>description :  
      </label>
      <br/>
<textarea name="description" cols="50" rows="10"></textarea>
      <br/>
      <input type='hidden' name='page' value='soins'/>
      <input type="submit" value="Envoyer" />
  </form>
  </p>
</div>
<div class=part>
<?php
include_once("connect.php");
$result=mysql_query("select * from ap3_sp_soins order by 'datepost'desc");
while($soin=mysql_fetch_assoc($result)){
      echo "<div>";
      echo  $soin['titre'];
      echo      "<p>".$soin['description']."</p> ";
       echo     "<h6>".$soin['prix']."</h6>";
      echo      "<form name='del' action='supprimer.php' method='post'>";      
      echo      "<input type='hidden' name='delID' value='".$soin['ID']."'/>";
      echo      "<input type='hidden' name='table' value='ap3_sp_soins'/>";
      echo      "<input type='hidden' name='page' value='soins'/>";
       echo     "<input type='submit' value='supprimer' /> ";
      echo      "</form>"; 
      echo      "</div>";
      }
  ?>
</div>